//
//  OrderExtFooterView.h
//  HAODE
//
//  Created by panquanReabam.com on 16/5/18.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OrderExtHeaderModel.h"


@protocol OrderExtFooterViewDelegate <NSObject>
@required
- (void)key:(NSString *)str;

- (void)textFieldEditing:(NSString *)textField;
- (void)textViewEditing:(NSString *)textField;
@end

@interface OrderExtFooterView : UIView

@property(nonatomic, strong) UITextField *discountTextFied;

@property(nonatomic, strong) UITextView *noteTextView;
@property(nonatomic, strong) UITextField *depositTextFied;
@property(nonatomic, strong) UILabel *discountAmountLabel;
@property(nonatomic, strong) UIButton *discountRateSatBtn;
@property(nonatomic, strong) UISwitch *switchs;
@property(nonatomic, strong) UIButton *earnestRateSatBtn;
@property(nonatomic, strong) UIButton *distributionSatBtn;

@property(nonatomic,strong)NSString *TotalMoney;
@property (strong, nonatomic) NSString*isEarnest;
@property (assign, nonatomic) id<OrderExtFooterViewDelegate> mDelegate;

@property(nonnull,strong,nonatomic) OrderExtHeaderModel *model;


@end
